<?php
include_once '../includes/common.php';
@header("content-Type:text/json;charset=utf-8");
$rs=$DB->query("SELECT * FROM authguao_paysite WHERE active=1 AND djactive=1 order by top asc,id asc");
while($res = $DB->fetch($rs)) {
    $pay_list.='<option value="'.$res['url'].'">'.$res['name'].'['.$res['url'].']</option>';
}
echo $pay_list;